/*
 * networkedLocksTestTwo.c
 *
 *  Created on: Jul 12, 2011
 *      Author: peckb1
 */

#include "syscall.h"

void SingleMVInteractionTest() {
    int arraySize = 5;
    int test = -1;
    int value = 0;

    int firstMVvalue  = CreateIntMV("First MV" , 8, arraySize);

    value = 100;
    AlterIntMV(firstMVvalue, 1, value);
    test = RetrieveIntMV(firstMVvalue, 1);
    if(test != value) {
        Exit(test);
    }

}

int main() {
    SingleMVInteractionTest();

    Exit(0);
}
